package com.chinasoft.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product {
    private Long id;
    private  String name;
    private  Long price;

    public Product(String name, Long price) {
        this.name = name;
        this.price = price;
    }
}
